package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源同步对象 sys_needpull_data
 * 
 * @author ruoyi
 * @date 2024-09-06
 */
public class SysNeedpullData extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 备用字段1 */
    @Excel(name = "备用字段1")
    private String attribute1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String attribute2;

    /** 资源id */
    @Excel(name = "资源id")
    private String resourceid;

    /** 状态（0需要拉取 1已拉取） */
    @Excel(name = "状态", readConverterExp = "0=需要拉取,1=已拉取")
    private String status;

    /** 资源时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "资源时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date showPutTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAttribute1(String attribute1) 
    {
        this.attribute1 = attribute1;
    }

    public String getAttribute1() 
    {
        return attribute1;
    }
    public void setAttribute2(String attribute2) 
    {
        this.attribute2 = attribute2;
    }

    public String getAttribute2() 
    {
        return attribute2;
    }
    public void setResourceid(String resourceid) 
    {
        this.resourceid = resourceid;
    }

    public String getResourceid() 
    {
        return resourceid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setShowPutTime(Date showPutTime) 
    {
        this.showPutTime = showPutTime;
    }

    public Date getShowPutTime() 
    {
        return showPutTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attribute1", getAttribute1())
            .append("attribute2", getAttribute2())
            .append("resourceid", getResourceid())
            .append("status", getStatus())
            .append("showPutTime", getShowPutTime())
            .append("createTime", getCreateTime())
            .toString();
    }
}
